package rolesystem.roles.carry;

import rolesystem.core.RoleAction;
import rolesystem.middle.utilityclasses.MessagePayload;
import rolesystem.roles.KnownEvent;

public class Slave 
{
	/**
	 * Role identifier.
	 */
	public static final String ROLE_ID="carry.Slave";	
	
	public static final KnownEvent KE_moveOneSquare=new KnownEvent("moveOneSquare", Manager.ROLE_ID, MessagePayload.class);//PositionSq.class
	
	public static final KnownEvent KE_carryFinished=new KnownEvent("carryFinished", Manager.ROLE_ID);
	
	public static final KnownEvent KE_sameObjNoManager=new KnownEvent("sameObjNoManager", Manager.ROLE_ID);
	


	public static RoleAction agentReached(int addressee, MessagePayload data)//CarrierData
	{
		return new RoleAction("agentReached", addressee, data);
	}
	
	public static RoleAction moveAck(int addressee)
	{
		return new RoleAction("moveAck", addressee);
	}	
	
}
